package com.lzh.designpatterns.factorymethod;

/**
 * @author liuzhihao
 * @create 2021-12-26 21:18
 *
 * 客户端
 */
public class Client {

    public static void main(String[] args) {
        NumberFactory factory = NumberFactory.getFactory();
        Number parse = factory.parse("123");


    }

}
